/**
 * @description: 测试路由表
 * 2022/3/10 5:10 PM
 * @author: zsjin
 */
import {createRouter, createWebHashHistory} from "vue-router";

const routes = [
    {
        path: '/',
        redirect: '/worker'
    },
    {
        path: '/worker',
        name: '测试页面2',
        component: () => import('../views/worker.vue'),
    },
]

const router = createRouter({
    history: createWebHashHistory(),
    routes
})

export default router